package com.xquant.trade.report.service;

import com.github.pagehelper.PageInfo;
import com.xquant.trade.utils.ResponseVo;
import com.xquant.trade.report.entity.OpexMonitor;
import com.xquant.trade.report.entity.OpexMonitorDetail;

import javax.servlet.http.HttpServletResponse;
import java.sql.SQLException;
import java.util.Map;

/**
 * @Auther: B946
 * @Date: 10/03/2020 15:23
 * @Description:
 */
public interface OpexMonitorService {

    public static String BEAN_NAME = "opexMonitorService";

    PageInfo<OpexMonitor> queryOpexMonitorList(OpexMonitor params);

    PageInfo<OpexMonitorDetail> queryOpexMonitorDetailList(OpexMonitorDetail params);

    ResponseVo checkOpexMonitor(Map<String, Object> params);

    ResponseVo checkDailyPrice(Map<String, Object> params);

    ResponseVo checkCurve(Map<String, Object> params);

    void checkIrCurve(Map<String, Object> params) throws SQLException;

    void checkDivCurve(Map<String, Object> params) throws SQLException;

    void checkVlsCurve(Map<String, Object> params) throws SQLException;

    ResponseVo checkSummitFile(Map<String, Object> params);

    void downloadFileZip(OpexMonitorDetail params, HttpServletResponse response);

    void downloadFile(Map params, HttpServletResponse response);

    ResponseVo checkSpotPrice(Map<String, Object> params);

    ResponseVo checkCalc(Map<String, Object> params);
}
